import { object } from "underscore";

// components/song-item-v1/song-itme-v1.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    songItem:{
      type:Object,
      value:{}
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    itemtap(){
      const id =this.properties.songItem.id
      console.log(id);
      wx.navigateTo({
        url: `/packageMusicPlayer/pages/music-player/music-player?id=${id}`,
      })
    }
  }
})
